﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine&amp;v1" />
    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" />
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <header>
        <div id="main">
            <div id="header">
                <div id="logo">
                    <h1>
                        My<a href="#">@Html.ActionLink("Organizer", "Index", "Home")</a>
                    </h1>
                    <div class="slogan">
                        A cool way to organize your stuff.
                    </div>
                </div>
                <div id="menubar">
                    <ul id="menu">
                        <li>@Html.ActionLink("Home", "Index", "Home")</li>
                        <li>@Html.ActionLink("Movies", "Index", "Movie")</li>
                        <li>@Html.ActionLink("Books", "Index", "Book")</li>
                        <li>@Html.ActionLink("TvShows", "Index", "TvShow")</li>
                        <li>@Html.ActionLink("About", "About", "Home")</li>
                        <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
                    </ul>
                </div>
            </div>
        </div>
    </header>
    <div id="site_content">
        <div id="sidebar_container">
            @*<img class="paperclip" src="../Images/paperclip.png" alt="paperclip" />*@
            <div class="sidebar">
                <h3>
                    User</h3>
                <p>
                    @Html.Partial("_LoginPartial")
                </p>
            </div>
            @*<img class="paperclip" src="../Images/paperclip.png" alt="paperclip" />*@
            <div class="sidebar">
                <h3>
                    Other Info</h3>
                <p>
                    Design altered and adapted by:
                </p>
                <p>
                    João Pedro Gonçalves
                </p>
                <p>
                    <a href="http://www.linkedin.com/in/joaopedroreis">View more info here.</a>
                </p>
            </div>
        </div>
        <div id="content">
            @RenderSection("featured", required: false)
            @RenderBody()
        </div>
    </div>
    <footer>
        <div id="footer">
            <p>
                Copyright &copy; simplestyle_7 | <a href="http://validator.w3.org/check?uri=referer">
                    HTML5</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
                | <a href="http://www.html5webtemplates.co.uk">design from HTML5webtemplates.co.uk</a>
            </p>
            <div class="float-left">
                <p>
                    &copy; @DateTime.Now.Year - My ASP.NET MVC Application</p>
            </div>
        </div>
    </footer>
    @Scripts.Render("~/bundles/jquery")
    @RenderSection("scripts", required: false)
    @Scripts.Render("~/bundles/jqueryval")
    @Scripts.Render("~/bundles/globalize")
    <script type="text/javascript">
        $(document).ready(function () {
            Globalize.culture('en-IE');
            $.validator.methods.date = function (value, element) {
                return this.optional(element) || Globalize.parseDate(value);
            };
            //            $.validator.methods.number = function (value, element) {
            //                return !isNaN(Globalize.parseFloat(value));
            //            }
        });
    </script>
</body>
</html>
